from selenium import webdriver
from selenium.webdriver.common.by import By

# 1.打开浏览器
driver = webdriver.Chrome(executable_path='chromedriver.exe')
# driver = webdriver.Chrome() #创建浏览器对象
# 2.输入访问地址（URL）
driver.get("http://121.43.169.97:8848/pageA.html")

driver.find_element(By.CSS_SELECTOR,"#userA").send_keys("admin")
driver.find_element(By.CSS_SELECTOR,"#passwordA").send_keys("123456")
driver.find_element(By.CSS_SELECTOR,"#telA").send_keys("1391234567")
driver.find_element(By.CSS_SELECTOR,".emailA.dzyxA").send_keys("123456@qq.com")
driver.find_element(By.CSS_SELECTOR,"button").click()
